/*
 * Copyright (c) 2019 Nanjing Wind Information Co., Ltd. All Rights Reserved;
 * @Package wind.autotest.pojo
 * @version 1.0.0
 * @Date 2019年4月11日
 * @author jlliu.Farrior@wind.com.cn
 */
package wind.autotest.pojo;

import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * @Description: <质检任务>
 * @author jlliu.Farrior@wind.com.cn
 * @Date 2019年4月11日 下午5:33:13
 * 
 */


@Entity
@Table(name = "auto_test_task")
@JsonIgnoreProperties({ "handler","hibernateLazyInitializer" })
public class TestTask {
	// 任务id
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY) 
    @Column(name = "id")
	private int id;
	// 任务名称
	private String name;
	// 作者
	private String author;
	// 备注
	private String remarks;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	
	
	
	@Override
	public String toString() {
		return "TestTask [id=" + id + ", name=" + name + ", author=" + author
				+ ", remarks=" + remarks + "]";
	}
}
